//
//  GHUtils.h
//  GodHorses
//
//  Created by Mac on 2017/11/14.
//  Copyright © 2017年 stoneobs@icloud.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MCUserModel.h"
@interface TMUtils: NSObject
//网络可用时候的回调

+ (UIView*)headerViewWithTitle:(NSString*)title;
+ (UINavigationBar *)navigationBar;
+ (UITabBar *)tabbar;
+ (CGFloat)navgationBarBootom;
+ (CGFloat)tabBarTop;
+ (void)debugSimulationNetWorkWithHadle:(void (^)(NSInteger, NSMutableArray *))handle;
+ (void)sendNoJsonRequestWithUrl:(NSString*)url params:(NSDictionary*)params isPost:(BOOL)isPost handle:(void(^)(BOOL success,NSString * response))handle;

+ (UIView*)normalTextField:(UITextField*)textFiled title:(NSString*)title;/**< 常见登录注册View */

+ (void)autoLoginWithAccount:(NSString*)account pwd:(NSString*)pwd;
+ (void)fecthUserModelWithUserId:(NSString*)userIds handle:(void(^)(NSArray <MCUserModel*>* users)) handle;/**< 可以批量获取用户信息 */
+ (void)sendMyInfoRequestWithHandle:(void(^)(MCUserModel * user)) handle;/**< 获取我的信息 */
@end
